package com.ltkj.order.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class OrderAddDTO {

    @ApiModelProperty(hidden = true,value = "下单秒杀时用传到接收消息后向缓存中放订饭id")
    private String goodsId;

    @ApiModelProperty(hidden = true, value = "购物车id")
    private Long[] cartIds;

    @ApiModelProperty("用户优惠券id")
    private Long couponId;

    @ApiModelProperty("总订单信息")
    private TicOederAddDTO ticOederAddDTO;

    @ApiModelProperty("订单详情信息")
    private List<TicOrderDetailAddDTO> ticOrderDetailAddDTOList;

}
